package com.aoxun.dao;

import java.util.List;

import com.aoxun.pojo.Page;
import com.aoxun.pojo.Tuser;

public interface IUserDao {
	
	public Tuser userLogin(Tuser user);
	
	public boolean checkName(Tuser user);
	
	public int getRows();
	
	public int blackRows();
	
	public void addUser(Tuser user);
	
	public List userList(Page page);
	
	public List blackList(Page page);
	
	public Tuser getUser(Integer id);
	
	public void delUser(Integer id);
	
	public void updateUser(Tuser user);
	
	public List findUser(Tuser user);
	
	public void delScore(int uid,int score);

}
